package za.org.meraka.mxitstem.analysis;

import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.PorterStemFilter;
import org.apache.lucene.analysis.LowerCaseTokenizer;
import org.apache.lucene.analysis.Analyzer;

import java.io.Reader;

public class MxitAnalyzer extends Analyzer {

        public final TokenStream tokenStream(String fieldName, Reader reader) {
                return new MxitStemFilter(new LowerCaseTokenizer(reader));
        }

}

